#ifndef TLogHandlerH
#define TLogHandlerH
#include "common.h"

//---------------------------------------------------------------------------
namespace WYHGloox{

	class TLogHandler : public LogHandler
	{
	private:
		Client *client;
	public:
		TLogHandler(Client *clientobj);
		virtual ~TLogHandler() ;
		virtual void handleLog( LogLevel level, LogArea area, const std::string& message );
		TOnLog FOnLog;
};

};
using namespace WYHGloox;
#endif
